package cn.deepmax.spring.cloud.common.data;

import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;


/**
 * 分页复杂查询
 * @param <T>
 */
public interface PageQuery<T> {


    Specification<T> toSep();


    Pageable toPageable();

}
